package com.example.xyh.service;

import com.example.xyh.entity.Customer;
import org.springframework.stereotype.Service;

@Service
public interface CustomerService {
    com.example.xyh.dto.CustomerInfoDto login(String customer_name, String password);

    com.example.xyh.dto.CustomerInfoDto findCustomerByCustomerName(String customer_name);

    Customer findByCustomerId(Integer customer_id);

    com.example.xyh.dto.CustomerInfoDto save(String customer_name, String password);
}
